package cn.com.zpark;

/**
 * @PackageName: cn.com.zpark
 * @ClassName: JDBC_02
 * @Description: 注册驱动
 * @author: RZS
 * @date: 2021/10/24  15:49
 */
public class JDBC_02 {
    public static void main(String[] args) {
        try {
            Class.forName("com.mysql.jdbc.Driver");
            System.out.println("驱动注册成功");
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
